# 定义一个响应类来构建返回的数据
class ExpressBrandRsp:
    def __init__(self, code, name):
        self.code = code
        self.name = name

    def to_dict(self):
        return {
            'code': self.code,
            'name': self.name
        }
